home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-10-16 | 945 b | 31 lines | [TEXT/GEOL] |
- Item 1555365 16-Oct-89 18:25
-
- From: ROSENSTEIN1 Rosenstein, Larry
-
- To: D2086 Efficient Field Svc, C Faith,PRT
-
- cc: MACAPP.TECH$ MACAPP Tech
-
- Sub: Re: How to detect potential…
-
- Curtis,
-
- It look like you can use TObject.ForAllSubClassesDo to find all subclasses of
- TDocument. You can then convert the ObjClassID to a string and/or create an
- object of that class.
-
- You can't invoke a method without specifying an object. The object is an
- implicit parameter to the method, and in general, the method will access fields
- and other methods of the object.
-
- It sounds like what you want are class method (a la Smalltalk), which Object
- Pascal doesn't have. The best you can do is to put the method in TMyDocument,
- make all document classes subclasses of TMyDocument, and create the object
- solely to call the method.
-
- Larry
-
-
-
-
-